// ant_forest_energy_web_server project main.go
package main

import (
	"flag"

	"gitee.com/diandisoft/ant_forest_energy_web_server/config"
	"gitee.com/diandisoft/ant_forest_energy_web_server/db"
	"gitee.com/diandisoft/ant_forest_energy_web_server/server"
)

func main() {
	environment := flag.String("e", "development", "启动模式：development | production")
	flag.Parse()
	config.Init(*environment)
	db.Connect()
	server.Init()
}
